﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NotificationService;
using NotificationTypes;

namespace NotificationService
{
    public class NotificationServiceImplemented : INotificationService
    {
        private static INotificationType inot = new NotifyByEmail();

        #region INotificationService Members

        public bool Send(String sender, String receptor, String subject, String message)
        {
            MessageDetails md = new MessageDetails(sender, receptor, subject, message);
            inot.Send(md);
            return true;
        }

        public bool SendAll()
        {
            throw new NotImplementedException();
        }

        public bool Shedule(DateTime time)
        {
            throw new NotImplementedException();
        }

        public bool Queue(String sender, String receptor, String subject, String message)
        {
            throw new NotImplementedException();
        }

        #endregion

        #region Helper methods


        #endregion
    }
}
